<!-- 通用组件：分页 -->
<template>
    <div :id="id">
        <el-pagination background layout="prev, pager, next" :total="1000">
        </el-pagination>
    </div>
</template>

<script>
    import register from '@/js/main/register.js';

    export default {
        props: {
            element: {
                type: Object
            },
            id: {
                type: String
            }
        },
        created() {
            register.addComponent(this);
        },
        destroyed() {
            register.removeComponent(this);
        }
    }
</script>